package com.itheima;

public interface BankAccount {

    /**
     * 存入指定金额
     * @param amount
     */
    public void deposit(double amount);

    /**
     * 取出指定金额
     * @param amount
     */
    public void withdraw(double amount);

    /**
     * 获取当前余额
     * @return
     */
    public double getBalance();
}
